<!DOCTYPE html>
<html>
<!--
Copyright 2015 The Chromium Authors. All rights reserved.
Use of this source code is governed by a BSD-style license that can be
found in the LICENSE file.
-->
<head>
  <meta http-equiv="Pragma" content="no-cache">
  <meta http-equiv="Expires" content="-1">
  <title>{{title}}</title>
  <script type="text/javascript" src="common.js"></script>
  <script type="text/javascript" src="example.js"></script>
  </head>
<body data-width="640" data-height="480" {{attrs}}>
  <h1>{{title}}</h1>
  <h2>Status: <code id="statusField">NO-STATUS</code></h2>
  <p>The VideoEncode example demonstrates how to encode video.</p>
  <br>
  <select id="profileList"></select>
  <input type="button" id="start" value="Start Recording" disabled="true"/>
  <input type="button" id="stop" value="Stop Recording" disabled="true"/>
  <div id="download-box"></div>
  <div id="length"></div>
  <br>
  <video id="video" width="640px" height="480px"></video>
  <!-- The NaCl plugin will be embedded inside the element with id "listener".
      See common.js.-->
  <div id="listener"></div>
  <pre id="log" style="font-weight: bold"></pre>
  </body>
</html>
